﻿using GZNest.Entity.Spin.System;
using System.Linq;

namespace GZNest.Biz.IService
{
    public interface IProductService : IBaseService<Product>
    {
        bool Exist(int id);
        bool Exist(string name);
        Product Find(int id);
        Product Find(string name);
        
        IQueryable<Product> FindPageList(int pageIndex, int pageSize, out int totalRecord, int order);
    }
}
